/**
 * 订单相关路由
 */
export default [
    // 我的订单
    {
        path: '/order',
        name: 'Order',
        component: () => import('../pages/Order/Order.vue'),
        meta: {
            title: '我的订单',
            loginRequired: true
        }
    },
    // 创建订单
    {
        path: '/order/create',
        name: 'OrderCreate',
        component: () => import('../pages/Order/OrderCreate.vue'),
        meta: {
            title: '订单结算',
            loginRequired: true
        }
    },
    // 订单详情
    {
        path: '/order/:orderId',
        name: 'OrderDetail',
        component: () => import('../pages/Order/OrderDetail.vue'),
        meta: {
            title: '订单详情',
            loginRequired: true
        }
    },
]